﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 判断年龄
{
    class Program
    {
        static void Main(string[] args)
        {
            //判断年龄大于40，输出，否则未满，
            Console.WriteLine("请输入年龄：");
            int intage = Convert.ToInt32(Console.ReadLine());
            string info = intage > 40 ? "大于40岁" : "小于40岁";
            Console.WriteLine(info);
            Console.ReadLine();
        }
    }
}
